load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "JUNIT5_DEPS", "java_selenium_test_suite")

java_selenium_test_suite(
    name = "large-tests",
    size = "large",
    srcs = glob(["*Test.java"]),
    browsers = [
        "firefox",
        "chrome",
        "edge",
    ],
    tags = [
        "selenium-remote",
    ],
    deps = [
        "//java/src/org/openqa/selenium/bidi",
        "//java/src/org/openqa/selenium/bidi/browsingcontext",
        "//java/src/org/openqa/selenium/bidi/emulation",
        "//java/src/org/openqa/selenium/bidi/log",
        "//java/src/org/openqa/selenium/bidi/module",
        "//java/src/org/openqa/selenium/bidi/network",
        "//java/src/org/openqa/selenium/bidi/script",
        "//java/src/org/openqa/selenium/firefox",
        "//java/src/org/openqa/selenium/grid/security",
        "//java/src/org/openqa/selenium/json",
        "//java/src/org/openqa/selenium/remote",
        "//java/src/org/openqa/selenium/support",
        "//java/test/org/openqa/selenium/environment",
        "//java/test/org/openqa/selenium/testing:annotations",
        "//java/test/org/openqa/selenium/testing:test-base",
        "//java/test/org/openqa/selenium/testing/drivers",
        artifact("com.google.guava:guava"),
        artifact("org.junit.jupiter:junit-jupiter-api"),
        artifact("org.assertj:assertj-core"),
    ] + JUNIT5_DEPS,
)
